(function($){
	$.sharetime.user = (function(){
		
		function _initProfilePictureForm(){
			var options = {
				beforeSubmit: function(formArray, jqForm, options) {
          			$.each(formArray, function(name, value){
          				     //do validation
          			});
          			$.ui.indicator.show();
      			},
      			dataType : 'json',
      			success : function(data){
      					
      			}
			};
			
			$('#uploadProfilePictureForm').ajaxForm(options);
		}
		
		return {
			init : function(){
				_initProfilePictureForm();
			}
		}
	})();
})(jQuery);